package com.changwen.currentactivity.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.changwen.currentactivity.activity.MainActivity;


/**
 * <pre>
 *     author: lcw
 *     date  : 2022/7/11
 *     desc  : ∧_∧
 * </pre>
 */
public class NotificationClickReceiver extends BroadcastReceiver {

    private final String TAG = NotificationClickReceiver.class.getSimpleName();
    private Context context;

    @Override
    public void onReceive(Context context, Intent intent) {
        this.context = context;
        if (intent != null) {
            MainActivity.start();
        }
    }
}
